package com.javabaas.server.novel_server.common;

public enum ModuleCode {

    MODULE_HTTP_RES(0, "http响应的状态码模块"),
    MODULE_USER(1000, "用户模块"),
    MODULE_INSTALLATION(2000, "设备安装"),
    MODULE_SMS(3000, "短信服务"),
    MODULE_MAIL(4000, "邮箱服务"),

    MODULE_CATS(10000, "cats 分类"),

    MODULE_RANK_STATUS(5000, "Rank"),
    MODULE_BOOK_STATUS(6000, "Book"),
    MODULE_CHAPTER_STATUS(7000, "Chapter"),
    MODULE_CHAPTERCONTENT_STATUS(8000, "chapterContent"),
    MODULE_HOT_WORDS_STATUS(9000, "Chapter");


    private int code;
    private String msg;

    ModuleCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
